package models

import (
	"github.com/beego/beego/v2/client/orm"
	_ "github.com/go-sql-driver/mysql"
)

var O orm.Ormer

func init() {
	// O = orm.NewOrm()
}

func getOrmer() orm.Ormer {
	if O == nil {
		println("O is nil")
		O = orm.NewOrm()
	}
	return O
}
